import React from 'react';
// import {HashRouter, Route, Switch} from 'react-router-dom';
import Home from './pages/Home';
import Page1 from './pages/page1';
import Page2 from './pages/page2';

import {HashRouter, Route, Switch, hashHistory} from 'react-router-dom';



const BasicRoute = () => (
    <HashRouter>
        <Switch>
            <Route exact path="/" component={Home}/>
            <Route exact path="/page1" component={Page1}/>
        </Switch>
    </HashRouter>
);


export default BasicRoute;